<!--头部 开始-->
<header id="header" class="header-effect-shrink fixed-margin-bottom" data-plugin-options="{'stickyEnabled': false, 'stickyEffect': 'shrink', 'stickyEnableOnBoxed': true, 'stickyEnableOnMobile': true, 'stickyChangeLogo': true, 'stickyStartAt': 120, 'stickyHeaderContainerHeight': 70}">
    <div class="header-body">
        <!--顶部 开始-->
        <div class="header-top bg-light fixed-top">
            <div class="container">
                <div class="header-row">
                    <div class="header-column justify-content-start d-none d-md-block">
                        <div class="header-row">
                            <nav class="header-nav-top">
                                <ul class="nav nav-pills">
                                    <li>
                                        <span class="pl-0">
                                            {if !empty($cityRs)}
                                                {$siteRs.keyword}
                                            {else /}
                                                {$slogan}
                                            {/if}
                                        </span>
                                    </li>
                                </ul>
                            </nav>
                        </div>
                    </div>
                    <div class="header-column justify-content-end">
                        <div class="header-row">
                            <nav class="header-nav-top">
                                <ul class="nav nav-pills">
                                    <li class="h5 mb-0">
                                        {if $lang eq 'cn'}
                                            <a href="tel:{$telephone}" rel="nofollow" class="mr-1"><i class="fa fa-phone"></i> {$telephone}</a>
                                        {/if}
                                        <a href="tel:{$mobile}" rel="nofollow"><i class="fa fa-mobile-alt"></i> {$mobile}</a>
                                    </li>
                                    {if count($lang_list) > 1}
                                        <li class="dropdown nav-item-left-border">
                                            <a class="pl-0 ml-2" href="{$home_path}" role="button" id="dropdownLanguage" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img src="{$langRs.ico}" /> {$langRs.viewtitle} <i class="fa fa-angle-down"></i></a>
                                            <div class="dropdown-menu" aria-labelledby="dropdownLanguage">
                                                {volist name="lang_list" id="langRs"}
                                                    <a class="dropdown-item" href="{$langRs.url}"><img src="{$langRs.ico}" /> {$langRs.viewtitle}</a>
                                                {/volist}
                                            </div>
                                        </li>
                                    {/if}
                                </ul>
                            </nav>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--顶部 结束-->
        <div class="header-container bg-white fixed-top-35">
            <div class="container">
                <div class="header-row">
                    <div class="header-column">
                        <div class="header-row">
                            <div class="header-logo"><a href="{$home_path}"><img alt="{$siteRs.title|raw}" width="210" height="50" data-sticky-width="189" data-sticky-height="45" src="{$siteRs.logo}"></a></div>
                        </div>
                    </div>
                    <div class="header-column justify-content-end">
                        <div class="header-row">
                            <div class="header-nav header-nav-links order-2 order-lg-1">
                                <div class="header-nav-main">
                                    <nav class="collapse">
                                        <ul class="nav nav-pills" id="mainNav">
                                            {volist name="navigation" id="oneRs"}
                                                <!-- 下拉平铺 -->
                                                {if $oneRs.att_type eq 'tile'}
                                                    <!-- 分类展示 -->
                                                    <li class="dropdown dropdown-mega">
                                                        <a class="dropdown-item dropdown-toggle" href="{$oneRs.linkurl}">{$oneRs.title|raw}</a>
                                                        <ul class="dropdown-menu">
                                                            <li>
                                                                <div class="dropdown-mega-content">
                                                                    <div class="row">
                                                                        <?php $sortList = sort_list(5, $lang, 'product'); ?>
                                                                        {volist name="sortList" id="navsortRs"}
                                                                            <div class="nav-col col-12 pr-0">
                                                                                <a href="<?php the_category_url($navsortRs['id'],'product'); ?>" class="dropdown-mega-sub-title text-dark px-0 font-weight-bold">{$navsortRs.title|raw}</a>
                                                                                <ul class="dropdown-mega-sub-nav ml-0">
                                                                                    <?php $nav_pro_list = table_list('product', $navsortRs['id'], '*', $lang, 5, 'product.sequence desc'); ?>
                                                                                    {volist name="nav_pro_list" id="navproRs"}
                                                                                        <li class="detail"><a class="ellipsis line-1 dropdown-item" href="<?php the_view_url($navproRs['id'],'product'); ?>"><img src="{$navproRs.thumb}" class="rounded mr-2" onerror="this.src='/skin/admin/img/nopic.png'">{$navproRs.title|raw}</a></li>
                                                                                    {/volist}
                                                                                    <li class="detail"><a class="dropdown-item" href="<?php the_category_url($navsortRs['id'],'product'); ?>">&raquo; {:lang('v_more')}</a></li>
                                                                                </ul>
                                                                            </div>
                                                                        {/volist}
                                                                    </div>
                                                                </div>
                                                            </li>
                                                        </ul>
                                                    </li>
                                                {else /}
                                                    {empty name="oneRs.subOne"}
                                                        <li><a class="dropdown-item" href="{$oneRs.linkurl}">{$oneRs.title|raw}</a></li>
                                                    {else /}
                                                        <li class="dropdown">
                                                            <a class="dropdown-item dropdown-toggle" href="{$oneRs.linkurl}">{$oneRs.title|raw}</a>
                                                            <ul class="dropdown-menu">
                                                                {volist name="oneRs.subOne" id="twoRs"}
                                                                    {empty name="twoRs.subTwo"}
                                                                        <li><a class="dropdown-item" href="{$twoRs.linkurl}">{$twoRs.title|raw}</a></li>
                                                                    {else /}
                                                                        <li class="dropdown-submenu">
                                                                            <a class="dropdown-item" href="{$twoRs.linkurl}">{$twoRs.title|raw}</a>
                                                                            <ul class="dropdown-menu">
                                                                                {volist name="twoRs.subTwo" id="threeRs"}
                                                                                    {empty name="threeRs.subThree"}
                                                                                        <li><a class="dropdown-item" href="{$threeRs.linkurl}">{$threeRs.title|raw}</a></li>
                                                                                    {else /}
                                                                                        <li class="dropdown-submenu">
                                                                                            <a class="dropdown-item" href="{$threeRs.linkurl}">{$threeRs.title|raw}</a>
                                                                                            <ul class="dropdown-menu">
                                                                                                {volist name="threeRs.subThree" id="fourRs"}
                                                                                                    <li><a class="dropdown-item" href="{$fourRs.linkurl}">{$fourRs.title|raw}</a></li>
                                                                                                {/volist}
                                                                                            </ul>
                                                                                        </li>
                                                                                    {/empty}
                                                                                {/volist}
                                                                            </ul>
                                                                        </li>
                                                                    {/empty}
                                                                {/volist}
                                                            </ul>
                                                        </li>
                                                    {/empty}
                                                {/if}
                                            {/volist}
                                        </ul>
                                    </nav>
                                </div>
                                <button class="btn header-btn-collapse-nav" data-toggle="collapse" data-target=".header-nav-main nav"><i class="fa fa-bars"></i></button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>
<!--头部 结束-->